package com.hl.card.credit.pub.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hl.card.credit.pub.dao.AbstractDao;
import com.hl.card.credit.pub.dao.PublicExpressGoodsInfoDao;
import com.hl.card.credit.pub.entity.PublicExpressGoodsInfo;
import com.hl.card.credit.pub.model.PublicExpressGoodsInfoModel;

//@Service
public class PublicExpressGoodsInfoService extends AbstractService<PublicExpressGoodsInfo, Integer> {

	@Autowired
	private PublicExpressGoodsInfoDao<PublicExpressGoodsInfo, Integer> dao;

	@Override
	protected AbstractDao<PublicExpressGoodsInfo, Integer> getDao() {
		return dao;
	}

	public void addPublicExpressGoodsInfoBatch(List<PublicExpressGoodsInfo> list) {
		dao.addBatch(list);
	}

	public List<PublicExpressGoodsInfo> queryList(PublicExpressGoodsInfoModel publicExpressGoodsInfoModel) {
		// TODO Auto-generated method stub
		return dao.queryList(publicExpressGoodsInfoModel);
	}

}
